home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000062_icon-group-sender _Wed Jun 3 12:46:07 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA10570
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Wed, 3 Jun 1998 12:46:06 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA09162; Wed, 3 Jun 1998 12:45:59 -0700
From: gep2@computek.net
Date: Wed, 3 Jun 1998 12:45:30 -0500
Message-Id: <199806031745.MAA31997@axp.cmpu.net>
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Subject: Re: Directory access facilities
To: icon-group@optima.CS.Arizona.EDU
X-Mailer: SPRY Mail Version: 04.00.06.17
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 929
> One might be tempted to use initial failure from dirname() to determine if a
given directory is empty; however, this doesn't work in general, as on some
systems it might not be possible to differentiate between a non-existant
directory and an empty directory.
And how about directories which contain entries which you're not allowed to see?
> I would also vote against filtering out "." and ".."; dir() should return an
accurate representation of what is in the directory,
Oh, jeez... I don't see ANY value in returning "." at least, whether it's
"there" (for OS purposes) or not. What's the point, after all???
> ...and not require any special casing (and it is trivial to filter this out at
a higher level).
Trivial doesn't mean anything different, here, than "recurring and familiar
nuisance".
Gordon Peterson
http://www.computek.net/public/gep2/
Support the Anti-SPAM Amendment! Join at http://www.cauce.org/